package com.mcxx.modules.report.service.impl;

import com.mcxx.modules.report.service.StatisDataService;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.stereotype.Service;


@Service
@TaTransactional
public class SubCountryCompService extends StatisDataService {
    @Override
    public String getAccumulativeGoalCode(String basicCode) {
        if (basicCode.equals("county_every_items"))
            return "county_everyItems";
        else if(basicCode.equals("county_subSubsidy"))
            return "county_subCumulativeSubsidy";
        else if(basicCode.equals("county_replacementNum"))
            return "county_subCumulativeReplacement";
        else if(basicCode.equals("county_signOutNum"))
            return "county_signOutNumSum";
        else if(basicCode.equals("county_newSubAllowances"))
            return "county_newSubAllowancesSum";
        return "";
    }
}
